{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">{include file="public/current_location" /}</div>
    <div class="search-container">
        <form action="" method="get">
            <input type="hidden" name="__token__" value="{$Request.token}" />
            <div class="lists">
                <label>
                    <select name="info[status]">
                        <option value="">全部状态</option>
                        <option value="1" {if condition="$inputform['status'] eq 1"} selected{/if} >正常</option>
                        <option value="10" {if condition="$inputform['status'] eq 10"} selected{/if} >禁用</option>
                    </select>
                </label>
                <label>
                    <select name="info[filed_name]">
                        <option value="username" {if condition="$inputform['filed_name'] eq 'username'"} selected{/if} >用户名</option>
                        <option value="phone" {if condition="$inputform['filed_name'] eq 'phone'"} selected{/if} >手机号码</option>
                        <option value="name" {if condition="$inputform['filed_name'] eq 'name'"} selected{/if} >用户姓名</option>
                    </select>
                    <input type="text" name="info[filed_content]" value="{$inputform['filed_content']}" style="width: 300px;" placeholder="请输入用户名\手机号码\用户姓名"/>
                </label>
                <label><input type="submit" value="搜索" class="search-input margin-left"/></label>
            </div>
        </form>
    </div>
    <form action="" name="myForm" method="post">
        <div class="content-container">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <th width="5%">
                        <label style="margin-bottom: 0px; cursor: pointer;" class="allcheck">
                            <span>全选</span>
                            <input type="checkbox" style="display: none"/>
                        </label>
                    </th>
                    <th width="5%">序号</th>
                    <th width="10%">用户名</th>
                    <th width="10%">用户姓名</th>
                    <th width="10%">手机号码</th>
                    <th width="10%">余额</th>
                    <th width="8%">积分</th>
                    <th width="8%">登录次数</th>
                    <th>登录时间</th>
                    <th width="5%">状态</th>
                    <th width="5%">是否审核</th>
                    <th width="10%">操作</th>
                </tr>
                {if condition="$list"}
                    {volist name="list" id="vo"}
                        <tr>
                            <td><input type="checkbox" name="checkbox[]" {if condition="$vo['is_check']"}disabled{/if} class="checkboxinput" value="{$vo['member_id']}"/></td>
                            <td>{$vo['orderkey']}</td>
                            <td>{$vo['username']}</td>
                            <td>{$vo['name']}</td>
                            <td>{$vo['phone']}</td>
                            <td><a href="{$vo['updatepriceurl']}">{$vo['balance']}</a></td>
                            <td><a href="{$vo['integrallogurl']}">{$vo['integral']}</a></td>
                            <td><a href="{$vo['loginlogurl']}">{$vo['login_count']}</a></td>
                            <td>{$vo['login_time']}</td>
                            <td>{$vo['statusstring']}</td>
                            <td>{$vo['checkname']}</td>
                            <td>
                                <a href="{$vo['updateurl']}">编辑</a>
                                <a href="{$vo['deleteurl']}" class="delete">删除</a>
                            </td>
                        </tr>
                    {/volist}
                {else}
                    <tr>
                        <td colspan="10">没有数据哦...</td>
                    </tr>
                {/if}
            </table>
            <div class="bottom-pages">
                <div class="bottom-pages-button">
                    <input type="button" onclick="myForm.action='{$checkurl}';myForm.submit();" value="批量审核"/>
                </div>
                <div class="pages">{$pages}</div>
            </div>
        </div>
    </form>
</div>
{/block}